I've noticed that compilation/download of c code to the kFlop causes it to clear it's current X/Y/Z locations (registers?).
While I could read them, store them, compile & download, then write them back, I'm wondering if there is a way to do that all within the compiled C Code?
i.e.
//My startup C Code
double XPos=ReadXPos();
//Do all normal startup code
SetXPos()=XPos
....or, is it too late by the time the code executes in the KFlop because the positions are already erased at the time of compile/download?
Another alternative would be to read the values and store them to a file before the previous shutdown of the app, but this would prevent going from a Mach3 session to a custom code session and remembering the values.
sam marrocco | chief technical officer
ringside.cutters.picnic.moonlink
248 548 2500 w
248 910 3344 c
ringsidecreative.com